class Contactos < ActiveRecord::Migration
  def self.up
    create_table 'contactos' do |t|
      t.column :nombre,  :string, :null => false, :limit => 128
      t.column :email,  :string, :null => false, :limit => 128
      t.column :notas,  :text, :null => true
      t.column :suscribirse,  :boolean, :null => false, :default => false
      t.column :created_at,   :datetime, :null => false
    end
  end
  
  def self.down
    drop_table 'contactos'
  end
end